/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package towerdefence.model.cannons;

import net.phys2d.math.ROVector2f;
import towerdefence.model.*;
import net.phys2d.math.Vector2f;
import net.phys2d.raw.shapes.Box;

/**
 *
 * @author Gussoh
 */
public class WoodCannon extends Cannon {

    public WoodCannon(Vector2f position) {
        super(new Box(20, 20), 2000);
        adjustPosition(position);
    }

    
    @Override
    public CannonBall getCannonBall() {
        return new WoodCannonBall(this);
    }

    @Override
    public double getPrice() {
        return 10;
    }

    @Override
    public ROVector2f getCannonBallOrigin() {
        return getPosition();
    }

}
